<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>理财产品详情</title>
		<meta name="decorator" content="default"/>
		<script type="text/javascript">
		$(function(){
			 $.fn.numeral = function() {     
		            $(this).css("ime-mode", "disabled");     
		            this.bind("keypress",function(e) {     
		            var code = (e.keyCode ? e.keyCode : e.which);  //兼容火狐 IE      
		                if(!$.browser.msie&&(e.keyCode==0x8))  //火狐下不能使用退格键     
		                {     
		                     return ;     
		                    }     
		                    return code >= 48 && code<= 57;     
		            });     
		            this.bind("blur", function() {     
		                if (this.value.lastIndexOf(".") == (this.value.length - 1)) {     
		                    this.value = this.value.substr(0, this.value.length - 1);     
		                } else if (isNaN(this.value)) {     
		                    this.value = "";     
		                }     
		            });     
		            this.bind("paste", function() {     
		                var s = clipboardData.getData('text');     
		                if (!/\D/.test(s));     
		                value = s.replace(/^0*/, '');     
		                return false;     
		            });     
		            this.bind("dragenter", function() {     
		                return false;     
		            });     
		            this.bind("keyup", function() {     
		            if (/(^0+)/.test(this.value)) {     
		                this.value = this.value.replace(/^0*/, '');     
		                }     
		            });     
		        };    
		        //调用文本框的id  
		  $("#gmje").numeral();   
		  //$("#fcbje").numeral(); 
		  
		$("#lcxxForm").submit(function(){
			if($("#gmje").val()<$("#qtje").val()){
				$.jBox.tip('购买金额不能低于起投金额', 'error');
				return false;
			}
		})
		  
		$(".input_group a").click(function(){
			$("#lcxxForm").submit();
		})
	})
		</script>
	</head>
<body>

<div class="bgbox">
	<div class="container">
    	<div class="common_box">
        	<div class="common_box_left">
            	<h3>${lccp.cpmc }</h3>
                <div class="common_information">
                	<ul class="common_information01">
						<li>
                    		<p>起投金额（${(lccp.qtje >= 10000)?"万元":"元" }）</p>
                        	<span>${(lccp.qtje >= 10000)?lccp.qtje/10000:lccp.qtje }</span>
                    	</li>
                		<li>
                    		<p>预期年化收益率</p>
                        	<span>${lccp.syl }</span>%
                    	</li>
                    	<li>
                    		<p>锁定期限（天）</p>
                        	<span>${lccp.fbq }</span>
                    	</li>
                	</ul>
<!--                 	<ul class="common_information02"> -->
<!--                 		<li class="lcxq_tap">到期结算方式：<span>一次性还本付息</span></li> -->
<!--                     	<li class="lcxq_tap  tap_dif">到期结算方式：<span>一次性还本付息</span></li> -->
<!--                         <li class="lcxq_tap">到期结算方式：<span>一次性还本付息</span></li>                -->
<!--                 	</ul> -->
                </div>
            </div>
            <div class="common_box_right">
                <div class="amount_panel"><a href="#">《利盈利服务协议》</a></div>
                <form id="lcxxForm" name="lcxxForm" action="${ctx }/finance/order" method="post">
            	<input type="hidden" name="hy_id" id="hy_id" value="${sessionScope.hy_id}"/>
            	<input type="hidden" name="lccp_id" id="lccp_id" value="${lccp.id}"/>
            	<input type="hidden" name="cpmc" id="cpmc" value="${lccp.cpmc}"/> 
            	<input type="hidden" name="qtje" id="qtje" value="${lccp.qtje}"/>
            	<input type="hidden" name="syl" id="syl" value="${lccp.syl}"/>
            	<input type="hidden" name="fbq" id="fbq" value="${lccp.fbq}"/>
            	<input type="hidden" name="sxje" id="sxje" value="${lccp.sxje}"/>
            	<input type="hidden" name="sxbl" id="sxbl" value="${lccp.sxbl}"/>
            	<input type="hidden" name="kyfcbje" id="kyfcbje" value="${fcbje}"/>
                <div class="amount_info">
                	<div class="amount_item">
                    	<p>当前可用发财币数量：</p>
                        <span>${fcbje}</span>
                    </div>
                    <div class="input_group">
                    	<input type="text"  name="gmje" id="gmje" value="${lccp.qtje}"  placeholder="购买金额"/>
                        <a href="javascript:;">立即购买</a>
                    </div>
                </div>
                </form>
            </div>
        </div>
        <div class="inner_box">
        	<div class="finance_intro">加入流程</div>
            <div class="finance_intro_image"></div>
        </div>
        <div class="align_center">
        	<div class="nav_details">详情介绍</div>
            <div class="introduction_box clearfix">
            	<div class="detail_table">
                	<div class="intro">产品名称</div>
                    <div class="intro_words">${lccp.cpmc }</div>
                </div>
                <div class="detail_table">
                	<div class="intro">收益率</div>
                    <div class="intro_words">${lccp.syl } %</div>
                </div>
                <div class="detail_table clearfix">
                	<div class="intro">起投金额</div>
                    <div class="intro_words">${lccp.qtje } 元</div>
                </div>
                <div class="detail_table clearfix">
                	<div class="intro">锁定期限</div>
                    <div class="intro_words">${lccp.fbq }</div>
                </div>
                <div class="detail_table clearfix">
                	<div class="intro">发财币使用上限金额</div>
                    <div class="intro_words">${lccp.sxje }</div>
                </div>
                <div class="detail_table clearfix">
                	<div class="intro">发财币使用上限比例</div>
                    <div class="intro_words">${lccp.sxbl }</div>
                </div>
                <div class="detail_table clearfix">
                	<div class="intro">产品介绍</div>
                    <div class="intro_words"> ${lccp.cpjs }</div>
                </div>               
            </div>
        </div>
        <div class="common_box_questions">
            <h2>常见问题</h2>
            <div class="inner_box_questions">
            	<h3>1.我加入季季翻投资团并投资1万元，12个月后我能赚到多少钱？</h3>
                <p>季季翻投资团尊享预计年化8%的预期综合净收益。除了年化6%的利息收益之外，投资人每90天还可以得到0.5%的尊享分红分红。除了年化6%的利息收益之外，投资人每90天还可以得到除了年化6%的利息收益之外，投资人每90天还可以得到</p>
                <h3>1.我加入季季翻投资团并投资1万元，12个月后我能赚到多少钱？</h3>
                <p>季季翻投资团尊享预计年化8%的预期综合净收益。除了年化6%的利息收益之外，投资人每90天还可以得到0.5%的尊享分红分红。除了年化6%的利息收益之外，投资人每90天还可以得到除了年化6%的利息收益之外，投资人每90天还可以得到</p>
                <h3>1.我加入季季翻投资团并投资1万元，12个月后我能赚到多少钱？</h3>
                <p>季季翻投资团尊享预计年化8%的预期综合净收益。除了年化6%的利息收益之外，投资人每90天还可以得到0.5%的尊享分红分红。除了年化6%的利息收益之外，投资人每90天还可以得到除了年化6%的利息收益之外，投资人每90天还可以得到</p>
                <h3>1.我加入季季翻投资团并投资1万元，12个月后我能赚到多少钱？</h3>
                <p>季季翻投资团尊享预计年化8%的预期综合净收益。除了年化6%的利息收益之外，投资人每90天还可以得到0.5%的尊享分红分红。除了年化6%的利息收益之外，投资人每90天还可以得到除了年化6%的利息收益之外，投资人每90天还可以得到</p>
             </div>
        </div>
    </div>
</div>

</body>
</html>